package com.ndx.service;

import com.ndx.pojo.User;

public interface UserService {
    User findByUserName(String username);

    void register(String username, String password);

    void update(User user);

    void updateAvatar(String avatarUrl,Integer id);

    void updatePwd(String newPwd);
}
